﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace winUi
{
    public partial class FormMain : Form
    {
        public FormMain()
        {
            InitializeComponent();
        }

        private void 入库ToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            new FormRuKU().ShowDialog();
        }

        private void 出库ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            new FormChuKU().ShowDialog();
        }

        private void 退库ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            new FormTuiKu().ShowDialog();
        }

        private void 添加字典ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            new FormDic().ShowDialog();
        }

        private void 库存ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            new FormKuCun().ShowDialog();
        }

        private void 历史库存ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            new FormHistoryStock().ShowDialog();
        }

        private void 入库查询ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            new FormQuery().ShowDialog();
        }

        private void 出库查询ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormQuery f = new FormQuery();
            f.index = 1;
            f.ShowDialog();
        }

        private void 退款查询ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FormQuery f = new FormQuery();
            f.index = 2;
            f.ShowDialog();
        }

        private void 分类管理ToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            new FormClass().ShowDialog();
        }

        private void 管理设置ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            new FormTool().ShowDialog();
        }
    }
}
